<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<ul>
			<li>创建和添加节点</li>
		</ul>
		<script>
			var li=document.createElement('li');
			var ul=document.querySelector('ul');
			ul.append(li);
		</script>
	</body>
</html>
